All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.std.qtcomponents.ImageCompressionDialog
java.lang.Object
|
+----quicktime.QTObject
|
+----quicktime.std.comp.ComponentIdentifier
|
+----quicktime.std.comp.Component
|
+----quicktime.std.qtcomponents.CompressionDialog
|
+----quicktime.std.qtcomponents.ImageCompressionDialog
- public final class ImageCompressionDialog
- extends CompressionDialog
- implements QuickTimeLib
This class represents the standard compression dialog for images.
-
ImageCompressionDialog()
- Opens the CompressionDialog component for an Image compression dialog.
-
compressImage(QDGraphics, QDRect)
- Compresses an image that is sourced by a PixMap from the supplied QDGraphics, returning
the compressed data and an image description.
-
compressPicture(Pict)
- Compresses a Pict returning a new Pict.
-
compressPictureFile(OpenFile, OpenFile)
- Compresses a Pict contained in the src open Pict file into the destination open Pict file.
-
compressSequenceBegin(QDGraphics, QDRect)
- Creates a SCSequence object to begin compression of a sequence of images.
-
defaultPictFileSettings(OpenFile, boolean)
- Allows you to derive default compression settings for an image that is stored in a Pict File.
-
defaultPictSettings(Pict, boolean)
- Allows you to derive default compression settings for an image that is stored in a Pict.
-
defaultPixMapSettings(PixMap, boolean)
- Allows you to derive default compression settings for an image that is stored in a pixel map.
-
getCompressFlags()
- Gets the compression flags.
-
getInfoColorTable()
- Gets the current color table or null to clear the current color table for a dialog.
-
getInfoDataRateSettings()
- Gets the current data rate settings for a dialog.
-
getInfoSpatialSettings()
- Gets the current spatial settings for a dialog.
-
getInfoTemporalSettings()
- Gets the current temporal settings for a dialog.
-
newGWorld(QDRect, int)
- Creates an offscreen QDGraphics based on the current compression settings.
-
requestImageSettings()
- Displays the standard dialog box to the user for a single image or for sound.
-
requestSequenceSettings()
- Displays the standard dialog box to the user for a sequence of images.
-
setCompressFlags(int)
- Sets the compression flags.
-
setInfoColorTable(ColorTable)
- Sets the current color table or null to clear the current color table for a dialog.
-
setInfoDataRateSettings(DataRateSettings)
- Sets the current data rate settings for a dialog.
-
setInfoSpatialSettings(SpatialSettings)
- Sets the current spatial settings for a dialog.
-
setInfoTemporalSettings(TemporalSettings)
- Sets the current temporal settings for a dialog.
-
setTestImagePict(Pict, QDRect, int)
- Sets the dialog box's test image from a Pict.
-
setTestImagePictFile(OpenFile, QDRect, int)
- Sets the dialog box's test image from a Pict file.
-
setTestImagePixMap(PixMap, QDRect, int)
- Sets the dialog box's test image from a PixMap.
ImageCompressionDialog
public ImageCompressionDialog() throws QTException
- Opens the CompressionDialog component for an Image compression dialog.
defaultPixMapSettings
public void defaultPixMapSettings(PixMap src,
boolean motion) throws StdQTException
- Allows you to derive default compression settings for an image that is stored in a pixel map.
QuickTime::SCDefaultPixMapSettings()
- Parameters:
- src - the pix map to be analyzed
- motion - set to true if the image is part of a sequence, false if a single image
defaultPictSettings
public void defaultPictSettings(Pict src,
boolean motion) throws StdQTException
- Allows you to derive default compression settings for an image that is stored in a Pict.
QuickTime::SCDefaultPictHandleSettings()
- Parameters:
- src - the Pict to be analyzed
- motion - set to true if the image is part of a sequence, false if a single image
defaultPictFileSettings
public void defaultPictFileSettings(OpenFile src,
boolean motion) throws StdQTException
- Allows you to derive default compression settings for an image that is stored in a Pict File.
QuickTime::SCDefaultPictFileSettings()
- Parameters:
- src - the Pict file to be analyzed
- motion - set to true if the image is part of a sequence, false if a single image
requestImageSettings
public void requestImageSettings() throws StdQTException
- Displays the standard dialog box to the user for a single image or for sound.
QuickTime::SCRequestImageSettings()
requestSequenceSettings
public void requestSequenceSettings() throws StdQTException
- Displays the standard dialog box to the user for a sequence of images.
QuickTime::SCRequestSequenceSettings()
compressImage
public QTImage compressImage(QDGraphics src,
QDRect srcRect) throws QTException
- Compresses an image that is sourced by a PixMap from the supplied QDGraphics, returning
the compressed data and an image description.
QuickTime::SCCompressImage()
- Parameters:
- src - the source PixMap is retrieved from the supplied QDGraphics.
- srcRect - you can specify to compress just a part of the pix map by specifying
a rectangle - or pass in null to compress the entire pix map.
- Returns:
- an image data object.
compressPicture
public Pict compressPicture(Pict src) throws QTException
- Compresses a Pict returning a new Pict.
QuickTime::SCCompressPicture()
- Parameters:
- src - the source Pict.
- Returns:
- a Pict
compressPictureFile
public void compressPictureFile(OpenFile src,
OpenFile dest) throws QTException
- Compresses a Pict contained in the src open Pict file into the destination open Pict file.
QuickTime::SCCompressPictureFile()
- Parameters:
- src - the source Pict File.
- dest - the destination Pict File.
compressSequenceBegin
public SCSequence compressSequenceBegin(QDGraphics src,
QDRect srcRect) throws QTException
- Creates a SCSequence object to begin compression of a sequence of images.
QuickTime::SCCompressSequenceBegin()
- Parameters:
- src - the source image
- srcRect - which part of the source to compress or null for the entire image.
- Returns:
- a SCSequence object
setInfoSpatialSettings
public void setInfoSpatialSettings(SpatialSettings settings) throws StdQTException
- Sets the current spatial settings for a dialog.
QuickTime::SCSetInfo()
- Parameters:
- settings - the new spatial settings
getInfoSpatialSettings
public SpatialSettings getInfoSpatialSettings() throws StdQTException
- Gets the current spatial settings for a dialog.
QuickTime::SCGetInfo()
- Returns:
- the new spatial settings
setInfoTemporalSettings
public void setInfoTemporalSettings(TemporalSettings settings) throws StdQTException
- Sets the current temporal settings for a dialog.
QuickTime::SCSetInfo()
- Parameters:
- settings - the new temporal settings
getInfoTemporalSettings
public TemporalSettings getInfoTemporalSettings() throws StdQTException
- Gets the current temporal settings for a dialog.
QuickTime::SCGetInfo()
- Returns:
- the new temporal settings
setInfoDataRateSettings
public void setInfoDataRateSettings(DataRateSettings settings) throws StdQTException
- Sets the current data rate settings for a dialog.
QuickTime::SCSetInfo()
- Parameters:
- settings - the new data rate settings
getInfoDataRateSettings
public DataRateSettings getInfoDataRateSettings() throws StdQTException
- Gets the current data rate settings for a dialog.
QuickTime::SCGetInfo()
- Returns:
- the new data rate settings
setInfoColorTable
public void setInfoColorTable(ColorTable ctab) throws StdQTException
- Sets the current color table or null to clear the current color table for a dialog.
QuickTime::SCSetInfo()
- Parameters:
- ctab - the new color table
getInfoColorTable
public ColorTable getInfoColorTable() throws QTException
- Gets the current color table or null to clear the current color table for a dialog.
QuickTime::SCGetInfo()
- Returns:
- the current color table or null if no color table being used.
setTestImagePict
public void setTestImagePict(Pict testPict,
QDRect testRect,
int testFlags) throws StdQTException
- Sets the dialog box's test image from a Pict.
QuickTime::SCSetTestImagePictHandle()
- Parameters:
- testPict - the new test image
- testRect - the area of interest to display or null for the entire picture
- testFlags - controls how the dialog display's the image
setTestImagePictFile
public void setTestImagePictFile(OpenFile testPict,
QDRect testRect,
int testFlags) throws StdQTException
- Sets the dialog box's test image from a Pict file.
QuickTime::SCSetTestImagePictFile()
- Parameters:
- testPict - the new test image sourced from an open Pict file.
- testRect - the area of interest to display or null for the entire picture
- testFlags - controls how the dialog display's the image
setTestImagePixMap
public void setTestImagePixMap(PixMap testPixMap,
QDRect testRect,
int testFlags) throws StdQTException
- Sets the dialog box's test image from a PixMap.
QuickTime::SCSetTestImagePixMap()
- Parameters:
- testPixMap - the new test image
- testRect - the area of interest to display or null for the entire picture
- testFlags - controls how the dialog display's the image
newGWorld
public QDGraphics newGWorld(QDRect rp,
int flags) throws QTException
- Creates an offscreen QDGraphics based on the current compression settings.
QuickTime::SCNewGWorld()
- Parameters:
- rp - the boundaries of the graphics world.
- flags - flags as specified to NewGWorld.
- Returns:
- a QDGraphics object
setCompressFlags
public void setCompressFlags(int flags) throws StdQTException
- Sets the compression flags.
QuickTime::SCSetCompressFlags()
- Parameters:
- flags - the new flags
getCompressFlags
public int getCompressFlags() throws StdQTException
- Gets the compression flags.
QuickTime::SCGetCompressFlags()
All Packages Class Hierarchy This Package Previous Next Index